<%@page import="com.qc.entity.MerchantEntity"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<%
	MerchantEntity merchantEntity = (MerchantEntity)request.getSession().getAttribute("merchantEntity"); 

	String path = request.getContextPath();
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<div class="business_top-middle">
    	<div class="business_top-logo">
            <img src="<c:url value="/images/logo02.png"/>"/>
        </div>
        
        <div class="business_top-user">
            <div class="business_top-user-info">
            	<div class="business_top-user-info-01">
                	<span>
                		<c:if test="${merchantEntity.isAuth == 1 }">
                			待审核 
                		</c:if>
                		
                		<c:if test="${merchantEntity.isAuth == 2 }">
                			已通过审核 
                		</c:if>
                		
                		<c:if test="${merchantEntity.isAuth == 3 }">
                			审核不通过
                		</c:if>
					 </span>
                </div>
                
                <div class="business_top-user-info-02">
                	<div class="business_top-user-info-02-01">
                    	${merchantEntity.userName }
                    </div>
                    
					<span id='msg_num'>
						
					</span>
                    
                    <div class="business_top-user-info-02-03">
                    	<a href="<c:url value="/merlogout.do"/>">
                        	退出
                        </a>
                    </div>
                </div>
            </div>
            
            <div class="business_top-user-img">
            	<a class="javascript:;">
                   <c:if test="${merchantEntity.merLogo == null }">
                   <img src="<c:url value="/images/logo@2x.png"/>"/>
                 </c:if>
                 
                 <c:if test="${merchantEntity.merLogo != null }">
                   <img src="<c:url value="http://qiniu.images.69mark.com/${merchantEntity.merLogo}"/>"/>
                 </c:if>
                </a>
            </div>
            
            <div class="clear"></div>
        </div>
        
        <div class="clear"></div>
    </div>
</body>
</html>